Hi, I have this code:I don't know do I aproach this problem correctly, but thing is I want to stop 'for loop' when there is nothing else to display. In fact Msgs[][] is much bigger and sometimes is has one string to display and sometimes 10, 15 etc. How can I detect end of data?Code:static const unsigned char *const Msgs[1][16] = { { "Please", "go to the", "user menu", "- tanks -", "", "", "", "", "", "", "", "", "", "", "", "" } }; . . . void fun(void) { unsigned char i; for (i = 0; Msgs[0][i]; i++) { printf("%s", (unsigned char *)Msgs[0][i]); } }